From: Jan Djärv Date: Sun, 5 Oct 2003 17:23:05 +0000 (+0000) Subject: * xfns.c (Fx_send_client_event): Remove unused variable s. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1~1^2~25291 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=02d560683e38df23c341da45fc5b7a997369bd7b;p=emacs.git * xfns.c (Fx_send_client_event): Remove unused variable s. --- diff --git a/src/ChangeLog b/src/ChangeLog index 613e2d46a9f..ad12c08471f 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -2,6 +2,7 @@ * xfns.c (Fx_send_client_event): New function as a base for manipulating extended window manager hints. + (Fx_send_client_event): Remove unused variable s. * w32term.c (w32_read_socket): Remove call to x_check_fullscreen_move, that function is removed. diff --git a/src/xfns.c b/src/xfns.c index 6b00bfd9818..b188ee3a43d 100644 --- a/src/xfns.c +++ b/src/xfns.c @@ -4358,12 +4358,11 @@ the excessive values are ignored. */) { Lisp_Object o = XCAR (cons); long val; - char *s = 0; if (INTEGERP (o)) val = XINT (o); else if (STRINGP (o)) - val = XInternAtom (dpyinfo->display, s = SDATA (o), False); + val = XInternAtom (dpyinfo->display, SDATA (o), False); if (event.xclient.format == 8) event.xclient.data.b[i] = (char) val;